package com.ellwood.dataMapper.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ellwood.common.core.base.EntityBase;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * @ProjectName: ellwood-pro
 * @PackageName: org.ellwood.modules.system.entity
 * @ClassName: RoleDeptEntity
 * @Description: // 角色部门表
 * @Author: Ellwood
 * @CreateDate: 2024/2/21 - 13:45
 * @Version: V1.0.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ToString
@TableName("sys_role_dept")
public class RoleDeptEntity extends EntityBase {

    /**
     * 角色部门关联ID
     */
    @TableId
    private Long rdId;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 部门ID
     */
    private Long deptId;

}
